package gameevent

import "xr-game-server/core/event"

const (
	RoleEnterGameEvent event.Type = "RoleEnterGameEvent"
)

type RoleEnterGameEventData struct {
	RoleId   uint64
	ServerId uint64
}

func NewRoleEnterGameEventData(roleId uint64, serverId uint64) *RoleEnterGameEventData {
	return &RoleEnterGameEventData{
		RoleId:   roleId,
		ServerId: serverId,
	}
}
